package com.itheima.service;


import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingService {
    //上传文件
    void add(List<OrderSetting> orderSettings);

    List<Map> getOrderSettingByMonth(String date);

    void edit(OrderSetting orderSetting);

    //xyl   确定预约人数
    public Integer findCountByDate(String date);

    public List<OrderSetting> findCountByDuring(String date1, String date2);

    //xyl   获取指定日期的各套餐收入
    public List<Map<String,Object>> getSetmealAndIncome(String date);

    //xyl   获取时间区间的各套餐收入
    List<Map<String, Object>> getDuringSetmealAndIncome(String date1, String date2);
}
